package config

import (
	"github.com/BurntSushi/toml"
	"log"
)

type Conf struct {
	Host  string
	Short string
}

var DomainConf Conf

func init() {
	_, err := toml.DecodeFile("./config/config.toml", &DomainConf)
	if err != nil {
		log.Fatal("config load fail ", err)
	}
}
